package com.heima.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.admin.dtos.AdChannelDto;
import com.heima.model.admin.pojos.AdChannel;
import com.heima.model.common.dtos.ResponseResult;


public interface AdChannelService extends IService<AdChannel> {

    ResponseResult findByNameAndPage(AdChannelDto dto);

    ResponseResult insert(AdChannel adChannel);

    ResponseResult update(AdChannel adChannel);

    ResponseResult delete( Integer id);
}
